package android.slc.ml.callback;

import android.database.Cursor;

import androidx.loader.content.Loader;

import android.slc.ml.inter.ILoader;

/**
 * Created by Taurus on 2017/5/23.
 */

public interface OnLoaderCallBack extends ILoader {

    void onLoadFinish(Loader<Cursor> loader, Cursor data, OnDestroyLoaderCallback onDestroyLoaderCallback);

    default void onLoaderReset() {
    }

    interface OnDestroyLoaderCallback {
        void onDestroyLoader();
    }
}
